package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_FbaBoxUpInfo", catalog="Id")
public class TccFbaBoxUpInfo extends BaseEntity<TccFbaBoxUpInfo> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="BoxUpBid", nameJava="boxUpBid", typeDataBase="varchar")
	private String boxUpBid;
	@YsField(nameDataBase="BidFbaPlan", nameJava="bidFbaPlan", typeDataBase="varchar")
	private String bidFbaPlan;
	@YsField(nameDataBase="FbaNo", nameJava="fbaNo", typeDataBase="varchar")
	private String fbaNo;
	@YsField(nameDataBase="FbaTrackNo", nameJava="fbaTrackNo", typeDataBase="varchar")
	private String fbaTrackNo;
	@YsField(nameDataBase="FbaToken", nameJava="fbaToken", typeDataBase="varchar")
	private String fbaToken;
	@YsField(nameDataBase="FbaId", nameJava="fbaId", typeDataBase="varchar")
	private String fbaId;
	@YsField(nameDataBase="FbaWarehouse", nameJava="fbaWarehouse", typeDataBase="varchar")
	private String fbaWarehouse;
	@YsField(nameDataBase="FbaWarehouseAddr", nameJava="fbaWarehouseAddr", typeDataBase="varchar")
	private String fbaWarehouseAddr;
	@YsField(nameDataBase="FbaAmount", nameJava="fbaAmount", typeDataBase="decimal")
	private BigDecimal fbaAmount;
	@YsField(nameDataBase="TransportationOptionId", nameJava="transportationOptionId", typeDataBase="varchar")
	private String transportationOptionId;
	@YsField(nameDataBase="DeliveryWindowOptionId", nameJava="deliveryWindowOptionId", typeDataBase="varchar")
	private String deliveryWindowOptionId;
	@YsField(nameDataBase="SearchIsShow", nameJava="searchIsShow", typeDataBase="tinyint")
	private Integer searchIsShow;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccFbaBoxUpInfo setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBoxUpBid() {
		return boxUpBid;
	}
	public TccFbaBoxUpInfo setBoxUpBid(String boxUpBid) {
		this.boxUpBid = boxUpBid;
		return this;
	}
	public String getBidFbaPlan() {
		return bidFbaPlan;
	}
	public TccFbaBoxUpInfo setBidFbaPlan(String bidFbaPlan) {
		this.bidFbaPlan = bidFbaPlan;
		return this;
	}
	public String getFbaNo() {
		return fbaNo;
	}
	public TccFbaBoxUpInfo setFbaNo(String fbaNo) {
		this.fbaNo = fbaNo;
		return this;
	}
	public String getFbaTrackNo() {
		return fbaTrackNo;
	}
	public TccFbaBoxUpInfo setFbaTrackNo(String fbaTrackNo) {
		this.fbaTrackNo = fbaTrackNo;
		return this;
	}
	public String getFbaToken() {
		return fbaToken;
	}
	public TccFbaBoxUpInfo setFbaToken(String fbaToken) {
		this.fbaToken = fbaToken;
		return this;
	}
	public String getFbaId() {
		return fbaId;
	}
	public TccFbaBoxUpInfo setFbaId(String fbaId) {
		this.fbaId = fbaId;
		return this;
	}
	public String getFbaWarehouse() {
		return fbaWarehouse;
	}
	public TccFbaBoxUpInfo setFbaWarehouse(String fbaWarehouse) {
		this.fbaWarehouse = fbaWarehouse;
		return this;
	}
	public String getFbaWarehouseAddr() {
		return fbaWarehouseAddr;
	}
	public TccFbaBoxUpInfo setFbaWarehouseAddr(String fbaWarehouseAddr) {
		this.fbaWarehouseAddr = fbaWarehouseAddr;
		return this;
	}
	public BigDecimal getFbaAmount() {
		return fbaAmount;
	}
	public TccFbaBoxUpInfo setFbaAmount(BigDecimal fbaAmount) {
		this.fbaAmount = fbaAmount;
		return this;
	}
	public String getTransportationOptionId() {
		return transportationOptionId;
	}
	public TccFbaBoxUpInfo setTransportationOptionId(String transportationOptionId) {
		this.transportationOptionId = transportationOptionId;
		return this;
	}
	public String getDeliveryWindowOptionId() {
		return deliveryWindowOptionId;
	}
	public TccFbaBoxUpInfo setDeliveryWindowOptionId(String deliveryWindowOptionId) {
		this.deliveryWindowOptionId = deliveryWindowOptionId;
		return this;
	}
	public Integer getSearchIsShow() {
		return searchIsShow;
	}
	public TccFbaBoxUpInfo setSearchIsShow(Integer searchIsShow) {
		this.searchIsShow = searchIsShow;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccFbaBoxUpInfo setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccFbaBoxUpInfo setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccFbaBoxUpInfo setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccFbaBoxUpInfo tccFbaBoxUpInfo(
		String boxUpBid,
		String bidFbaPlan,
		String fbaNo,
		String fbaTrackNo,
		String fbaToken,
		String fbaId,
		String fbaWarehouse,
		String fbaWarehouseAddr,
		BigDecimal fbaAmount,
		String transportationOptionId,
		String deliveryWindowOptionId,
		Integer searchIsShow,
		Integer status
			) {
		TccFbaBoxUpInfo entity = new TccFbaBoxUpInfo();
		entity.setBoxUpBid(boxUpBid);
		entity.setBidFbaPlan(bidFbaPlan);
		entity.setFbaNo(fbaNo);
		entity.setFbaTrackNo(fbaTrackNo);
		entity.setFbaToken(fbaToken);
		entity.setFbaId(fbaId);
		entity.setFbaWarehouse(fbaWarehouse);
		entity.setFbaWarehouseAddr(fbaWarehouseAddr);
		entity.setFbaAmount(fbaAmount);
		entity.setTransportationOptionId(transportationOptionId);
		entity.setDeliveryWindowOptionId(deliveryWindowOptionId);
		entity.setSearchIsShow(searchIsShow);
		entity.setStatus(status);
		return entity;
	}
}